#include <stdio.h>
int main()
{
  double a, b, t;
  scanf("%lf%lf", &a, &b);
  if (a > b)
  {
    t = a;
    a = b;
    b = t;
  }
  printf("%5.2f,%5.2f\n", a, b);
  return 0;
}
